<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录页面</title>
    <link rel="stylesheet" href="../css/01.css">
</head>

<body>
<h1 style="text-align: center;color: #0099cc">登录</h1>
<div class="main">
    <form action="${pageContext.request.contextPath}/user/login" method="post">
        账号:
        <input name="username" type="text" placeholder="请输入用户名">
        <br>
        密码:
        <input name="password" type="password" placeholder="请输入密码">
        <br>
        <input id="btn" type="submit" value="登录">
        <br>
        <span style="color: red">${LOGIN_MSG}</span>
        <a href="${pageContext.request.contextPath}/pages/register.jsp">去注册</a>
    </form>
</div>

</body>
</html>
